<template>
  <el-card class="box-card3">
    <div slot="header" class="clearfix">
      <span>{{count[0].devGroup}}</span>
    </div>
    <div class="text item jian">
      <div class="item_txt jinan" v-for="item in count" :key="item.id">
        <div>
          <i
            class="iconfont icon-yalichuanganqi myfont"
            :style="{ color: item.online ? '#3dd93d' : '#808080' }"
          ></i>
        </div>
        <div class="devvalue">{{ item.devValue }}</div>
        <div class="devnmae">{{ item.devName }}</div>
        <div class="eui">EUI:{{ item.eui }}</div>
      </div>
    </div>
  </el-card>
</template>

<script>
export default {
  name: "Jinan",
  props:['count'],

};
</script>

<style lang="scss" scoped>
.box-card3 {
  width: 100%;
}
.clearfix {
  font-size: 13px;
  font-weight: bold;
  .myline {
    font-weight: 100;
    color: silver;
    margin-left: 3px;
  }
}
.clearfix:after {
  clear: both;
}
.jian {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 100%;
  .jinan {
    width:13%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    margin-top:20px;
    .devvalue {
      font-weight: 700;
      font-size: 16px;
    }
    .devnmae {
      font-weight: 550;
      font-size: 13px;
      padding: 5px 0;
    }
    .eui {
      width: 100%;
      background: rgb(243, 244, 245);
      font-size: 13px;
      padding: 5px 0;
      text-align: center;
    }
  }
}
.text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  .item_txt {
    display: flex;
    justify-content: center;
    width: 13%;
    .myfont {
      font-size: 50px;
      color: #91a8bf;
    }
    img {
      width: 50px;
    }
    .item_box {
      font-size: 12px !important;
      color: #000;
      .lorawan {
        font-size: 20px !important;
        font-weight: 600;
      }
      .lorawan_s {
        font-weight: 600;
        color: #333;
      }
    }
  }
}

.item {
  margin-bottom: 18px;
}

.clearfix {
  font-size: 13px;
  font-weight: bold;
  .myline {
    font-weight: 100;
    color: silver;
    margin-left: 3px;
  }
}
.clearfix:after {
  clear: both;
}
</style>